package com.cyh.ebptonlinewar;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

@SpringBootApplication(scanBasePackages = {"com.cyh.ebptpubjar.**","com.cyh.ebptonlinewar.**"})
public class EbptonlineWarApplication extends SpringBootServletInitializer {

    public static void main(String[] args) {
        SpringApplication.run(EbptonlineWarApplication.class, args);
    }
    @Override
    protected SpringApplicationBuilder configure(SpringApplicationBuilder builder){
        return builder.sources(EbptonlineWarApplication.class);
    }
}
